(print_object): Escape a symbol like "2E10" too.
authorKenichi Handa <handa@m17n.org>
Thu, 15 Oct 2009 07:22:11 +0000 (07:22 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 15 Oct 2009 07:22:11 +0000 (07:22 +0000)
src/print.c

index 7f526243346e2f170d40395d2442982f53362365..5eee386cab76931d7552ad0e3772c1386bdb60e8 100644 (file)
@@ -1753,7 +1753,7 @@ print_object (obj, printcharfun, escapeflag)
          {
            while (p != end && ((*p >= '0' && *p <= '9')
                                /* Needed for \2e10.  */
-                               || *p == 'e'))
+                               || *p == 'e' || *p == 'E'))
              p++;
            confusing = (end == p);
          }